package com.atguigu.orderservice.client;

import com.atguigu.commonutils.vo.CommonMember;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Component
@FeignClient("ucenter-service")
public interface UcenterClient {

    @GetMapping("educenter/getCommonMember/{memberId}")
    public CommonMember getCommonMember(@PathVariable("memberId") String memberId);
}